package com.eastday;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.eastday.model.NewsInfoModel;

public class Launch {
	
	public static void main(String[] args){
		ApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
		HtmlProcess htmlProcess = (HtmlProcess)context.getBean("htmlProcess");
		System.out.println(htmlProcess.getSysConfigModel().getHostip());
	}

}
